/*
 * @Description: 注册公共组件 建议往后公共组件全部以c开头，意为common
 */
import SvgIcon from "@/components/svg/SvgIcon.vue";
import CommonTable from "@/components/table/common-table.vue";
import EditableForm from "@/components/form/editable-form.vue";
// import ReadOnlyForm from '@/components/form/readonly-form.vue'
import DictTag from "@/components/base/dict-tag.vue";

export default {
  install(Vue) {
    // 注册组件
    Vue.component("SvgIcon", SvgIcon);
    Vue.component("CTable", CommonTable);
    Vue.component("EditableForm", EditableForm);
    Vue.component("DictTag", DictTag);
    // Vue.component('EditableForm', EditableForm)
    // Vue.component('ReadOnlyForm', ReadOnlyForm)
  },
};
